<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>658</title>
<script src="../js/chat.js" type=text/javascript></script>
</head>
<body>
	<p>
		用户登录账号： 
		<label for="loginAccount"></label> 
		<input name="loginAccount" type="text" id="loginAccount" />
	</p>
	<p>&nbsp;</p>
	<p>设置当前用户</p>
	<button id="Tom" onclick="commonMethed.initUser(1)">Tom</button>
	<button id="Jerry" onclick="commonMethed.initUser(2)">Jerry</button>
	<button id="Marz" onclick="commonMethed.initUser(3)">Marz</button>
	<p>修改消息优先级</p>
	<button onclick="commonMethed.switchPriority()">修改优先级</button>
	<div id="priority">当前消息优先级为低<div>
	<div>单聊发送
		<table cellpadding="0" cellspacing="0">
			<thead>
			</thead>
			<tfoot>
			</tfoot>
			<tbody>
				<tr>
					<th>聊天记录</th>
					<td><div id="chatRecords"></div></td>
				</tr>
				<tr>
					<th>发表聊天</th>
					<td><input id="msg" />
					<button id="send" onclick="sender.start()">发送</button></td>
				</tr>
			</tbody>
			
		</table>
	</div>

	
	<div>群聊发送
		<table cellpadding="0" cellspacing="0">
			<thead>
			</thead>
			<tfoot>
			</tfoot>
			<tbody>
				<tr>
					<th>聊天记录</th>
					<td><div id="chatRecordsOther"></div></td>
				</tr>
				<tr>
					<th>发表聊天</th>
					<td><input id="msgOther" />
					<button id="send" onclick="sender.start(true)">发送</button></td>
				</tr>
			</tbody>
			
		</table>
	</div>
</body>
</html>
